﻿using MovingChame.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace MovingChame.Web.Services
{
    [ServiceContract]
    public interface IFriendService
    {
        [OperationContract]
        List<FriendData> GetFriends(int userId);

        [OperationContract]
        List<FriendData> GetRequestedFriends(int userId);

        [OperationContract]
        List<FriendData> GetRequestingFriends(int userId);

        [OperationContract]
        int AddFriend(int userId, int userId1);

        [OperationContract]
        Boolean Unfriend(int userId, int userId1);

        [OperationContract]
        Boolean CancleFriendRequest(int userId, int userId1);
    }
}
